Skip to content

Add current version print to build scripts#845

Merged
1Blademaster merged 3 commits into
mainfrom
844-display-previous-version-in-build-script
Nov 10, 2025
Merged

Add current version print to build scripts#845
1Blademaster merged 3 commits into
mainfrom
844-display-previous-version-in-build-script

Conversation

@1Blademaster

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 9, 2025 10:03
@1Blademaster 1Blademaster linked an issue Nov 9, 2025 that may be closed by this pull request

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enhances the build scripts for both Windows and macOS to make version handling more user-friendly by making the version parameter optional and adding interactive prompts. The scripts now display the current version from package.json and prompt users to enter a new version if not provided as a command-line argument.

Key Changes:

  • Version parameter changed from mandatory to optional in both scripts
  • Added functionality to read and display current version from package.json
  • Implemented interactive prompts for version input when not provided via command line

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
building/windows/build.ps1 Made version parameter optional, added logic to read current version from package.json and prompt user for new version
building/macos/build.sh Made version parameter optional, added logic to read current version from package.json and prompt user for new version

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread building/windows/build.ps1
@1Blademaster 1Blademaster requested a review from Kwash67 November 9, 2025 10:05
@1Blademaster

Copy link
Copy Markdown
Member Author

@Kwash67 Can you test this on Mac? You don't need to build it fully, just ensure it prints the current version out correctly

@Kwash67 Kwash67 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, works well

@1Blademaster 1Blademaster merged commit 35b6552 into main Nov 10, 2025
5 checks passed
@1Blademaster 1Blademaster deleted the 844-display-previous-version-in-build-script branch November 10, 2025 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Display previous version in build script

3 participants